package com.hb.medical_research_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName article
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="article")
public class Article implements Serializable {
    /**
     * 文献id
     */
    @TableId(type = IdType.AUTO)
    private Long articleId;

    /**
     * 文献类别
     */
    private Integer kind;

    /**
     * 作者
     */
    private String another;


    /**
     * 标题
     */
    private String title;

    /**
     * 摘要
     */
    private String summary;

    /**
     * 期刊

     */
    private String periodical;

    /**
     * pdf地址
     */
    private String pdfAddress;

    /**
     * txt地址
     */
    private String txtAddress;

    /**
     * 上传时间
     */
    private LocalDateTime date;

    /**
     * 文献原生关键字
     */
    private String nativeKeyword;


    /**
     * 搜索新增关键字
     */
    private String searchKeyword;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}